package com.bsj.power.pls.service;

import com.bsj.power.common.config.global.JsonResult;
import com.bsj.power.common.def.dto.alarmReport.AlarmLevelDTO;
import com.bsj.power.common.def.entity.alarmLevel.AlarmLevel;
import com.bsj.power.common.def.vo.pls.alarm.AlarmTypeVO;

import java.util.List;

/**
 * @author LiJiaXin
 * @version 1.0.0
 * @description AlarmLevelService
 * @time 2024/9/6 10:10
 */
public interface AlarmLevelService {

    /**
     * 报警类型列表
     *
     * @return java.util.List<com.bsj.power.common.constant.AlarmEnum>
     * @author ljx
     * @time 2024/9/5 21:53
     */
    List<AlarmTypeVO> listAlarmType();

    /**
     * 设置报警级别
     *
     * @param alarmLevelDTOS
     * @return com.bsj.power.common.config.global.JsonResult
     * @author ljx
     * @time 2024/9/6 10:55
     */
    JsonResult setAlarmLevel(List<AlarmLevelDTO> alarmLevelDTOS);

    /**
     * 报警级别列表
     *
     * @param level
     * @return java.util.List<com.bsj.power.common.def.entity.alarmLevel.AlarmLevel>
     * @author ljx
     * @time 2024/9/6 11:20
     */
    List<AlarmLevel> listAlarmLevel(Integer level);
}
